/*---------------------------------------------------------------------------------------------
 *  Copyright (c) Microsoft Corporation. All rights reserved.
 *  Licensed under the MIT License. See License.txt in the project root for license information.
 *--------------------------------------------------------------------------------------------*/

.monaco-workbench > .activitybar > .content .monaco-action-bar .action-item {
	display: block;
	position: relative;
	padding: 5px 0;
}

.monaco-workbench > .activitybar > .content .monaco-action-bar .action-label {
	display: flex;
	overflow: hidden;
	height: 40px;
	line-height: 40px;
	margin-right: 0;
	padding: 0 0 0 50px;
	box-sizing: border-box;
	font-size: 15px;
}

.monaco-workbench > .activitybar > .content .monaco-action-bar .action-item:focus:before {
	content: "";
	position: absolute;
	top: 9px;
	height: 32px;
	width: 0;
	border-left: 2px solid;
}

.monaco-workbench > .activitybar > .content .monaco-action-bar .action-item.clicked:focus:before {
	border-left: none !important; /* no focus feedback when using mouse */
}

.monaco-workbench > .activitybar.left > .content .monaco-action-bar .action-item:focus:before {
	left: 1px;
}

.monaco-workbench > .activitybar.right > .content .monaco-action-bar .action-item:focus:before {
	right: 1px;
}

.monaco-workbench > .activitybar > .content .monaco-action-bar .action-label.toggle-more {
	-webkit-mask: url('ellipsis-global.svg') no-repeat 50% 50%;
}

.monaco-workbench > .activitybar > .content .monaco-action-bar .badge {
	position: absolute;
	top: 5px;
	left: 0;
	overflow: hidden;
	width: 50px;
	height: 40px;
}

.monaco-workbench > .activitybar > .content .monaco-action-bar .badge .badge-content {
	position: absolute;
	top: 20px;
	right: 8px;
	font-size: 11px;
	min-width: 8px;
	height: 18px;
	line-height: 18px;
	padding: 0 5px;
	border-radius: 20px;
	text-align: center;
}

/* Right aligned */

.monaco-workbench > .activitybar.right > .content .monaco-action-bar .action-label {
	margin-left: 0;
	padding: 0 50px 0 0;
	background-position: calc(100% - 9px) center;
}

.monaco-workbench > .activitybar.right > .content .monaco-action-bar .badge {
	left: auto;
	right: 0;
}